package com.ibeeking.found.open.service.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;


@Data
@Component
@RefreshScope
@Configuration
public class OpenAuthCallBackConfig {

    /**
     * 微信第三方小程序授权后的跳转页面路由
     */
    @Value("${ibeeking.wechat.callback.wxOpenMaAuthRedirectUrl}")
    private String wxOpenMaAuthRedirectUrl;

    /**
     * 微信第三方公众号授权后的跳转页面路由
     */
    @Value("${ibeeking.wechat.callback.wxOpenMpAuthRedirectUrl}")
    private String wxOpenMpAuthRedirectUrl;

    /**
     * 企业微信自建应用授权后的跳转页面路由
     */
    @Value("${ibeeking.wechat.callback.wxOpenCpAuthRedirectUrl}")
    private String wxOpenCpAuthRedirectUrl;

    /**
     * 企业微信第三方应用授权后的跳转页面路由
     */
    @Value("${ibeeking.wechat.callback.wxOpenCpTpAuthRedirectUrl}")
    private String wxOpenCpTpAuthRedirectUrl;

    /**
     * 企业微信代开应用授权后的跳转页面路由
     */
    @Value("${ibeeking.wechat.callback.wxOpenCpDkAuthRedirectUrl}")
    private String wxOpenCpDkAuthRedirectUrl;

    /**
     * 企业微信通讯录授权后的跳转页面路由
     */
    @Value("${ibeeking.wechat.callback.wxOpenCpContactAuthRedirectUrl}")
    private String wxOpenCpContactAuthRedirectUrl;



    /**
     * 支付宝第三方应用授权后的跳转页面路由
     */
    @Value("${ibeeking.ali.callback.aliPayAuthRedirectUrl}")
    private String aliPayAuthRedirectUrl;
    /**
     * 钉钉第三方应用授权后的跳转页面路由
     */
    @Value("${ibeeking.ali.callback.aliDingTalkAuthRedirectUrl}")
    private String aliDingTalkAuthRedirectUrl;


}
